/**
 * 
 */
package com.wolfware.athsweb.persistancy.dao;

import java.util.List;

import com.wolfware.athsweb.domain.Location;

/**
 * Used to persist a Location object.
 * @author cstrzadala
 */
public interface LocationDAO  {

	/**
	 * 
	 * @param location
	 */
	void saveLocationEntry(final Location location);
	
	/**
	 * 
	 * @param locationList
	 */
	void saveLocationEntries(final List<Location> locationList);
	
	/**
	 * 
	 * @return
	 */
	List<Location> getAllLocations();
	
	/**
	 *
	 * @param id
	 * @return
	 */
	Location getLocationById(Long id);
	
	/**
	 * 
	 * @param location
	 */
	void updateLocationEntry(Location location);
	
	/**
	 * 
	 * @param location
	 */
	void deleteLocationEntry(Location location);
}
